package com.example.service;

import com.example.pojo.User;

public interface UserService {
    User findByUserName(String username);

    void addNewUser(String username, String password);

    boolean isUserExist(String username);

    boolean updateUserInfo(User user);

    void updateAvatar(String url);

    void updatePwd(String newPwd);
}
